<?php
namespace php\geo\googlemaps;
 
class MapType {

    private $type;

    private function __construct($type) {
        $this->type = $type;
    }

    public static function ROADMAP() {
        return new static("roadmap");
    }

    public static function SATELLITE() {
        return new static("satellite");
    }

    public static function HYBRID() {
        return new static("hybrid");
    }

    public static function TERRAIN() {
        return new static("terrain  ");
    }

    public function getType() {
        return $this->type;
    }
}
